/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const baseManage = [

 {
    path: '/baseManage',
    component: Layout,
    // redirect: '/example/list',
    name: 'baseManage',
    meta: { title: '后台管理', icon: 'guide' },
    children: [{
      path: '/user',
      component: () => import('@/views/baseManage/user/index'),
      name: 'userList',
      meta: { title: '系统用户' }
    }, {
      path: '/user/role',
      component: () => import('@/views/baseManage/role/index'),
      name: 'userRole',
      meta: { title: '系统角色' }
    },
    {
      path: '/sys/salesman',
      component: () => import('@/views/baseManage/salesman/index'),
      name: 'salesman',
      meta: { title: '业务员管理' }
    },
    {
      path: '/sys/province',
      component: () => import('@/views/baseManage/province/index'),
      name: 'Province',
      meta: { title: '省市区' }
    },
    {
      path: '/sys/menu',
      component: () => import('@/views/baseManage/systemmenu/index'),
      name: 'menu',
      meta: { title: '系统菜单' }
    },
    {
      path: '/sys/param',
      component: () => import('@/views/baseManage/param/index'),
      name: 'param',
      meta: { title: '系统参数配置' }
    }
  ]
  }]

export default baseManage
